class Post < ActiveRecord::Base
  has_many :comments
  has_and_belongs_to_many :tags

  def to_param
    "#{permalink}"
  end
end
